package com.javacoo.xservice.base.security;

import java.security.Security;

/**
 * 加密基类
 * <p>说明:</p>
 * <li></li>
 * @auther DuanYong
 * @since 2017年2月7日下午5:29:58
 */
public abstract class SecurityCoder {
    private static Byte ADDFLAG = 0;
    static {
        if (ADDFLAG == 0) {
            // 加入BouncyCastleProvider支持
            Security.addProvider(new com.javacoo.xservice.base.security.BouncyCastleProvider());
            ADDFLAG = 1;
        }
    }
}
